<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>个人页面</title>
</head>
<body>
	
	<table id="functList" width="10%"  cellpadding="0" cellspacing="0" border="1"></table>

	<script src="jquery-3.2.1.min.js"></script>
	<script>
		(function loadHtml(){
			$.ajax({
				url: "http://127.0.0.1/PHPStudy/RBAC/main.php",
				dataType: "json",
				success:function(res){
					let tableHtml="";
					res.forEach(function(e,i,arr){
						tableHtml+=`
								<tr><td>${e}</td></tr>
						           `;
					});
					$("#functList").html(tableHtml);
				}	
			})
		})();
		
		
	</script>
</body>
</html>